<html>
<head>
    <title>JAAS Authentication and Authorization Test</title>
    <meta content="no-cache" http-equiv="Pragma">
    <meta content="no-cache,no-store" http-equiv="Cache-Control">
    <link href="demo.css" rel="stylesheet"/>
    </style>
</head>
<body>
<div class="topnav">
    <a class="menu" href="http://localhost:8080/">Demo Home</a>
    <a class="menu"
       href="https://github.com/jetty/jetty.project/tree/jetty-12.0.x/jetty-ee9/jetty-ee9-demos/jetty-ee9-demo-jaas-webapp/">Source</a>
    <a class="menu" href="https://jetty.org/">Jetty Project Home</a>
    <a class="menu" href="https://jetty.org/docs/">Documentation</a>
    <a class="menu" href="https://webtide.com">Commercial Support</a>
</div>

<div class="content">
    <center>
        <span style="color:red; font-style:italic; font-weight:bold">Demo Web Application Only - Do NOT Deploy in Production</span>
    </center>
    <h1>JAAS Demo</h1>
    <p>
        This is a demo webapp for the <a href="https://jetty.org/">Eclipse Jetty HTTP Server and Servlet Container</a>.
        It was added into your <code>$JETTY_BASE/webapps</code> directory.

        It uses a simple login module that stores its configuration in a properties file.
    </p>

    <h2>Using the Demo</h2>
    <p>
        Click on the link below to test JAAS <i>authentication</i> and role-based web security constraint <i>authorization</i>.
        Use
        username=<code>me</code> with password=<code>me</code>. All other usernames and passwords should result in
        authentication
        failure.
    </p>
    <big><b><a href="auth.html">START</A></b></big>
</div>

<div class="footer">
    <center><a href="https://eclipse.dev/jetty"><img src="small_powered_by.gif" style="border:0"/></a></center>
</div>

</body>
</html>
